package com.leyou.auth.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("auth-service")
public interface AuthClient {

    @GetMapping("/client/key")
    String checkClient(
            @RequestParam("clientId")String clientId,
            @RequestParam("secret") String secret);
}
